package com.ruoyi.canteen.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单明细对象 canteen_cp_order_detail
 * 
 * @author zhangw
 * @date 2021-09-19
 */
@Data
public class CanteenCpOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    private Long orderId;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 门店id */
    @Excel(name = "门店id")
    private Long mdId;

    /** 菜品id */
    @Excel(name = "菜品id")
    private Long cpId;

    /** 菜品规格 */
    @Excel(name = "菜品规格")
    private String spec;

    /** 菜品价格 */
    @Excel(name = "菜品价格")
//    private Double price;
    private BigDecimal price;

    /** 数量 */
    @Excel(name = "数量")
    private Integer amount;

    /** 菜品总价 */
    @Excel(name = "菜品总价")
//    private Double cpSum;
    private BigDecimal cpSum;

    /** 备注 */
    @Excel(name = "备注")
    private String cpRemark;


}
